package com.jtech.together.mvp.contract;

import com.jtech.together.model.UserModel;
import com.jtech.together.mvp.base.BaseContract;

/**
 * 登录页面
 * Created by wuxubaiyang on 2017/5/10.
 */
public interface LoginContract {
    interface Presenter extends BaseContract.Presenter {
        void login(String userName, String password);
    }

    interface View extends BaseContract.View {
        void loginSuccess(UserModel userModel);

        void loginFail(String error);
    }
}